<template>
  <div class="p-search-form-item">
    <div class="u-left">{{ label }}</div>
    <div class="u-right">
      <slot></slot>
    </div>
  </div>
</template>

<script setup name="SearchFormItem">
defineProps({
  label: String,
})
</script>

<style lang="scss" scoped>
.p-search-form-item {
  display: flex;
  padding: 8px 0;
  line-height: 32px;
  .u-right {
    flex: 1;
  }
}
</style>
